<h2 class="title">自购物资列表管理</h2>
<form action="index.php?c=zy_materials_from_list&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">
<table class="tb_term" width="100%">
<tr>
	<td class="tr_td_width01 alignright">物资名称</td>
	<td class="tr_td_width03"><input type=text name="materials_name" value='{%$materials_name%}' class="input_edit_stand txt-normal" dataType="Require" msg="物资名称不能为空"></td>
	<td class="tr_td_width01 alignright">规格型号</td>
	<td ><input type=text name="specification"  value='{%$specification%}' class="input_edit_stand txt-normal" dataType="Require" msg="规格型号不能为空"></td>
</tr>
<tr>
	<td  class="alignright">数量</td>
	<td><input type=text name="number" value='{%$number%}' class="input_edit_num txt-normal" dataType="Number" msg=""></td>
	<td class="alignright">单位</td>
	<td><input type=text name="m_unit" value='{%$m_unit%}' class="input_edit_num txt-normal" dataType="Require" msg="" ></td>
</tr>
<tr>
	<td class="alignright">单价</td>
	<td><input type=text name="price"  value='{%$price%}' class="input_edit_num txt-normal" /><label class="label01">万元</label></td>
	<td class="alignright">支付方式</td>
	<td>
		<select name="pay_type" class="select_edit  txt-normal">
			{%html_options options=$pay_type_arr selected=$pay_type%}
		</select>
	</td>
</tr>
<tr>
	<td class="alignright">项目</td>
	<td>
		<select name="project_id" class="select_edit  txt-normal">
		{%html_options options=$project_arr selected=$project_id%}
		</select>
	</td>
	<td class="alignright">运输方式</td>
	<td>
		<select name="type_id"  class="select_edit  txt-normal">
		{%html_options options=$transport_type_arr selected=$type_id%}
		</select>
	</td>
</tr>
<tr>
	<td class="alignright">合同号</td>
	<td colspan="3"><input type=text name="contract_no" value='{%$contract_no%}'/></td>	
</tr>
<tr>
	<td class="alignright">备注</td>
	<td colspan="3"><textarea cols="70" rows="3" class="textarea_edit txt-normal" name="info">{%$info%}</textarea></td>
</tr>
</table>
{%if $is_show == 1%}
<p class="btn_right">
	<button type="button" class="b-default" hidefocus="true" onclick="javascript:history.go(-1)"><span><em>返回</em></span></button>
</p>
{%else%}
<p class="btn_right">
	<input type="hidden" name="materials_from_id" size=30 value='{%$materials_from_id%}'>
	<input type=hidden name='list_id' id='list_id' value='{%$list_id%}'>
	<button type="submit" class="b-default" hidefocus="true"><span><em>提交</em></span></button>
	<button type="button" class="b-default" hidefocus="true" onclick="history.go(-1)"><span><em>返回</em></span></button>		
</p>
{%/if%}
</form>